home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / Adroff2 / Examples / gradeRpt.2.ad (.txt) < prev    next >
Encoding:
NeXT TypedStream Data  |  1992-08-24  |  1.3 KB  |  34 lines

  1. typedstream
  2. Window
  3.     Responder
  4. Object
  5.     @@ifss**s
  6. TextView
  7. ScrollView
  8. ClipView
  9. ciifffcfffs
  10. [703c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  11. \margl40
  12. \margr40
  13. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ul0\fs24 \
  14. Print Grade Report #2  (Version 1)\
  15. Print Title, date, and Column Headings\
  16. While not EOF  (For each Course)\
  17. While courseNum = prevCourseNum  (For each Grade)\
  18. and instructorName = prevInstructorName\
  19. and deptCode = prevDeptcode\
  20. and not EOF\
  21. Print deptCode, instructorName, courseNum, studentName, gradeValue\
  22. courseGradeCount = courseGradeCount + 1\
  23. courseGradeTotal = courseGradeTotal + gradeValue\
  24. courseAverageGrade = courseGradeTotal / courseGradeCount\
  25. Print "Average", courseAverageGrade\
  26. NXCursor
  27. NXImage
  28. NXibeam
  29. Scroller
  30. Control
  31. _doScroller:
  32. @@@ffs
  33. =/private/Net/joan/sales3/jblum/Adroff2/Examples/gradeRpt.2.ad
  34.